package com.grj.service.article.verify;

import org.springframework.stereotype.Component;

/**
 * @author 14505
 */
@Component
public class WxVerify extends AbstractVerify {

    @Override
    public void toDo(String s) {
        System.out.println("wx");

        if ("2".equals(s)){
            throw new RuntimeException("请求没有被送达ProceedHandler");
        }

        if(this.getNext() != null){
            this.getNext().toDo(s);
        }
    }
}
